package ldh.im.fxbase.rpc;

import ldh.im.dto.base.OkResp;
import ldh.im.dto.business.PingReq;
import ldh.im.dto.business.webrtc.WebRtcDelRoomReq;
import ldh.im.dto.business.webrtc.WebRtcExitRoomReq;
import ldh.im.dto.business.webrtc.WebRtcJoinRoomReq;
import ldh.im.dto.business.webrtc.mesh.WebRtcP2pCandidateReq;
import ldh.im.dto.business.webrtc.mesh.WebRtcP2pSdpReq;
import ldh.rpc.dto.PongResp;

public interface SignalCallBack {

    PongResp pingToClient(PingReq pingReq);

    OkResp receiveJoinRoomReq(WebRtcJoinRoomReq joinRoomReq);

    OkResp receiveExitRoomReq(WebRtcExitRoomReq exitRoomReq);

    OkResp receiveSdp(WebRtcP2pSdpReq pingReq);

    OkResp receiveIceCandidateReq(WebRtcP2pCandidateReq webRtcP2pCandidateReq);

    OkResp receiveDelRoomReq(WebRtcDelRoomReq delRoomReq);

}
